body {
    display: flex;
    flex-direction: column;
    // align-items: center;

}

.rank {
    margin: 15px 0 0 15px;
    font-size: 20px;
}

main {
    width: 100%;
    flex: 1;
    overflow-y: scroll;
    font-family: PingFangSC-bold;

    .swiper {
        height: 200px;
        background: pink;
        overflow: hidden;

        .swiper-wrapper {
            .img1 {
                background: url(../imgs/index-swiper-bg1.jpg);
                background-size: cover;
            }

            .img2 {
                background: url(../imgs/index-swiper-bg2.jpg);
                background-size: cover;
            }

            .img3 {
                background: url(../imgs/index-swiper-bg3.jpg);
                background-size: cover;
            }
        }
    }

    .cont {
        width: 92%;
        margin: 20px auto;

        .list1 {
            width: 100%;
            height: 150px;
            display: flex;
            margin-top: 20px;

            .ranking {
                width: 150px;
                border-radius: 15px;
                background-size: 100%;
                background-color: rgba(21, 146, 204, .73);
                margin-right: 20px;
                overflow: hidden;
                flex: 1.2;
                position: relative;

                .img {
                    width: 120px;
                    height: 120px;
                    background: url(../imgs/index-card-rank.png);
                    background-size: cover;
                    opacity: .3;
                    position: absolute;
                    left: -15px;
                }

                span {
                    font-size: 30px;
                    color: white;
                    position: absolute;
                    top: 45px;
                    right: 15px;
                }
            }

            .clock {
                width: 212px;
                height: 150px;
                border-radius: 15px;
                background-color: rgba(123, 203, 245, .73);
                flex: 1.8;
                position: relative;

                .img {
                    width: 110px;
                    height: 110px;
                    background: url(../imgs/index-card-sum.png);
                    background-size: cover;
                    opacity: .67;
                    position: absolute;
                    bottom: 10px;
                    left: 15px;
                    // z-index: -2;
                }

                .clocks {
                    width: 100px;
                    height: 40px;
                    line-height: 34px;
                    border-radius: 20px;
                    text-align: center;
                    // background: #000;
                    border: 3px solid rgba(0, 81, 119, 1);
                    position: absolute;
                    right: 15px;
                    bottom: 25px;
                    z-index: 1;
                }
            }
        }

        .list2 {
            display: flex;
            margin-top: 20px;
            color: white;

            .title {
                margin: 12px 0 0 14px;
            }

            .data {
                width: 180px;
                height: 110px;
                border-radius: 15px;
                background: url(../imgs/index-card-data.png) center;
                background-size: 100%;
                margin-right: 20px;
                flex: .5;
            }

            .badge {
                width: 185px;
                height: 110px;
                border-radius: 15px;
                background: #9dbde3;
                flex: .5;
                position: relative;

                span {
                    font-size: 80px;
                    color: white;
                    position: absolute;
                    top: 10px;
                    right: 15px;
                }

                .img {
                    width: 90px;
                    height: 90px;
                    background: url(../imgs/index-card-badge.png) center;
                    background-size: cover;
                    opacity: .67;
                    position: absolute;
                    bottom: 0;
                    left: 8px;
                }
            }
        }

        .list3 {
            width: 100%;
            height: 110px;
            background: url(../imgs/index-swiper-bg2.jpg);
            // background-size: 100%;
            background-size: cover;
            background-position: 0 -20px;
            border-radius: 15px;
            margin-top: 20px;
            color: white;

            .title {
                padding: 12px 0 0 14px;
            }
        }

        .list4 {
            width: 100%;
            height: 110px;
            margin-top: 20px;
            border-radius: 15px;
            background: url(../imgs/index-card-run.png);
            background-size: cover;
            color: white;

            .title {
                padding: 12px 0 0 14px;
            }
        }
    }
}